package com.streamkar.entity.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName LoginRequest
 * @Description
 * @Author tyfrost
 * @Date 2018/11/15 上午10:49
 * @Version 1.0
 */
public class LoginRequest {
    /**
     * 登录账号
     */
    @NotBlank
    private String account;

    /**
     * 登录密码
     */
    @NotBlank
    private String passwd;

    /**
     * 登录角色 1: agencies 2:monitors 3:managers 4:talent-managers 5:talents
     */
    @NotNull
    private Integer userType;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }
}
